package cn.fboost.mtos.dto.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

/**
 * 订单发货请求
 */
@Data
public class OrderShipRequest {
    @NotNull(message = "订单ID不能为空")
    @Positive(message = "订单ID有误")
    private Integer orderId;

    @NotBlank(message = "配送人不能为空")
    private String shipperName;

    @NotBlank(message = "配送人联系方式不能为空")
    private String shipperTelephone;
}
